<h1>Project <%= @project.project_reference %></h1>

<p>
  <b>Project reference:</b>
  <%=h @project.project_reference %>
</p>

<p>
  <b>Project number:</b>
  <%=h @project.project_number %>
</p>

<p>
  <b>State:</b>
    <% if @project.state==1 %>
    		 Preview
    <% elsif @project.state==2 %>
    		 Open
    <% elsif @project.state==3 %>
    		 Closed
  	<% end %>
</p>

<p>
  <b>Budget:</b>
  <%=h @project.budget %>
</p>

<p>
  <b>Real costs:</b>
  <%=h @project.real_costs %>
</p>

<p>
  <b>Final client:</b>
  <%= @customer_final.name %>
</p>

<p>
  <b>Client:</b>
  <%= @customer.name %>
</p>

<p>
  <b>Responsible:</b>
  <%= @responsible.name %>
</p>


<%= link_to 'Edit', edit_project_path(@project) %> |
<%= link_to 'Show Tasks', show_tasks_project_path(@project) %> |
<%= link_to 'Back', projects_path %>